package com.lzyyj.gmis.base.model;

import java.io.Serializable;
import java.util.Set;

public interface IRole<PK extends Serializable> extends INamed {

	public Set<IPurview<? extends Serializable>> getPurviews();
	
	public void setPurviews(Set<IPurview<? extends Serializable>> purviews);
	
	public IRole<PK> getParent();
	
	public void setParent(IRole<PK> parent);
	
	public Set<IRole<PK>> getRoles();
	
	public void setRoles(Set<IRole<PK>> roles);
	
	public int getLevel();
	
}
